package com.mindbook.vip.gawxchatinfo.service.impl.nostrum;

import com.mindbook.vip.gawxchatinfo.entity.nostrum.PhcClinicalExaminationGuidanceResultInspectionItems;
import com.mindbook.vip.gawxchatinfo.mapper.nostrum.PhcClinicalExaminationGuidanceResultInspectionItemsMapper;
import com.mindbook.vip.gawxchatinfo.service.nostrum.PhcClinicalExaminationGuidanceResultInspectionItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @NAME: wxb
 * @DATE: 2022/8/3
 * @DESCRIPTION:
 **/
@Service
public class PhcClinicalExaminationGuidanceResultInspectionItemsServiceImpl implements PhcClinicalExaminationGuidanceResultInspectionItemsService {

    @Autowired private PhcClinicalExaminationGuidanceResultInspectionItemsMapper mapper;

    @Override
    public Integer removeByPrimaryKey(Integer id) {
        return mapper.deleteByPrimaryKey(id);
    }

    @Override
    public Integer add(PhcClinicalExaminationGuidanceResultInspectionItems phcClinicalExaminationGuidanceResultInspectionItems) {
        return mapper.insertSelective(phcClinicalExaminationGuidanceResultInspectionItems);
    }

    @Override
    public Integer put(PhcClinicalExaminationGuidanceResultInspectionItems phcClinicalExaminationGuidanceResultInspectionItems) {
        return mapper.updateByPrimaryKeySelective(phcClinicalExaminationGuidanceResultInspectionItems);
    }

    @Override
    public Integer addSelective(PhcClinicalExaminationGuidanceResultInspectionItems phcClinicalExaminationGuidanceResultInspectionItems) {
        return null;
    }

    @Override
    public PhcClinicalExaminationGuidanceResultInspectionItems findByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public Integer saveByPrimaryKeySelective(PhcClinicalExaminationGuidanceResultInspectionItems phcClinicalExaminationGuidanceResultInspectionItems) {
        return null;
    }

    @Override
    public Integer saveByPrimaryKey(PhcClinicalExaminationGuidanceResultInspectionItems phcClinicalExaminationGuidanceResultInspectionItems) {
        return null;
    }

    @Override
    public List<PhcClinicalExaminationGuidanceResultInspectionItems> findAll() {
        return mapper.findAll();
    }

    @Override
    public PhcClinicalExaminationGuidanceResultInspectionItems findBuyGroupName(String groupName) {
        return mapper.findByGroupName(groupName);
    }
}
